import type { RouteRecordRaw } from "vue-router";
export const Routes: Array<RouteRecordRaw> = [
  {
    path: "/home",
    name: "home",
    component: () => import("@/pages/home/index.vue"),
    meta:{
      isHidden:false
    }
  },
  {
    path: "/category",
    name: "category",
    component: () => import("@/pages/Category/index.vue"),
    meta:{
      isHidden:false
    }
  },
  {
    path: "/worth",
    name: "worth",
    component: () => import("@/pages/Worth/index.vue"),
    meta:{
      isHidden:false
    }
  },
  {
    path: "/cart",
    name: "cart",
    component: () => import("@/pages/Cart/index.vue"),
    meta:{
      isHidden:false
    }
  },
  {
    path: "/user",
    name: "user",
    component: () => import("@/pages/User/index.vue"),
    meta:{
      isHidden:false
    }
  },
  {
    path: "/detail",
    name: "detail",
    component: () => import("@/pages/Detail/index.vue"),
    meta:{
      isHidden:true
    }
  },
  {
    path: "/",
    redirect: "/home",
  }
];
